package interpreterPattern;

//终结符表达式
public class NumberExpression implements Expression {

    public int number;

    public NumberExpression(int number) {
        this.number = number;
    }

    public int interpret(Context context) {
        return number;
    }
}
